package com.bk.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 展示返回给前端的帖子数据
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class InnovationVO implements Serializable{
    //帖子主键
    private Long id;
    //标题名称
    private String title;
    //作者名称
    private String authorName;
    //作者头像
    private String authorImage;
    //帖子类型
    private String type;
    //帖子图标
    private String innovationImage;
    //评论数量
    private Long commonAmount;
    //点赞数量
    private Long likeAmount;
    //收藏数量
    private Long collectionAmount;
    //浏览量
    private Long look;
    //更新时间
    private LocalDateTime updateTime;
}
